package com.zhida.courseservice.service;

import com.zhida.common.entity.Result;
import com.zhida.courseservice.entity.Activity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ling
 * @since 2024-07-17
 */
@Service
public interface IActivityService extends IService<Activity> {

    Result<?> createActivity(Activity activity);

    Result<?> getActivityInfo(Integer activity_id);

    Result<?> updateActivityInfo(Activity activity);

    Result<?> getActivities(Integer current,Integer pageSize);
}
